﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GnpFine.Application.NmpaSystem
{
    /// <summary>
    /// 给友佳建材用的
    /// </summary>
    public class MatModel
    {
        /// <summary>
        /// 
        /// </summary>
        [DisplayName("单据ID")]
        public string id { get; set; }


        [DisplayName("编码")]
        public string number { get; set; }


        [DisplayName("名称")]
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DisplayName("单位编码")]
        public string baseunitid_number { get; set; }

        [DisplayName("单位名称")]
        public string baseunitid_name { get; set; }

        [DisplayName("单位id")]
        public string baseunitid_id { get; set; }

        [DisplayName("规格型号")]
        public string model { get; set; }

    }
}

// 给星辰药监用的
public class Material
{

    [JsonProperty("id")]
    public string kdid { get; set; }
    public string number { get; set; }
    public string name { get; set; }
    public string brandid_name { get; set; }
    public string refistrationnumber { get; set; }
    public string baseunitid_name { get; set; }

}